﻿using Ninject.Modules;
using System;

namespace Endos.Wodo.Persistence
{
    public sealed class Module : NinjectModule
    {
        public override void Load()
        {
            Bind<Func<IDataInitializer>>().ToMethod(x => () => new DataInitializer());
            Bind<IDataContext>().To<DataContext>();
        }
    }
}
